class Box
{
public:
    double getvolume()
    {
        return length * height * breadth;
    }
    void setlength(double len)
    {
        length = len;
    }
    void setheight(double hei)
    {
        height = hei;
    }
    void setbreadth(double bre)
    {
        breadth = bre;
    }
    Box operator+(Box &b)
    {
        Box box;
        box.length = this->length + b.length;
        box.height = this->height + b.height;
        box.breadth = this->breadth + b.breadth;
        return box;
    }

private:
    double length;
    double height;
    double breadth;
};
